<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>Dashboard Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
	<script src="js/bootstrap.min.js"></script>
  </head>
  <style>
  .ten{
  		padding-top:15px;
  }
  #six{
  		padding-top:50px;
  }
  #four{
  		margin-top:-110px;
  }
  body{
  		background-color:#eeefff;
  }
  </style>
  <body>
<h1 align="center">欢迎使用个人信息管理平台</h1>
 	<div class="row">
   		<div class="col-sm-3 col-md-2">
   		<ul class="nav nav-pills nav-stacked" style="max-width: 260px;"><br><br>
			<li><a href="findAllPersonMessageServlet?userName=${userName}">个人信息管理 <span class="sr-only">(current)</span></a></li>
            <li><a href="findAllFriendsServlet?userName=${userName}">通讯录管理</a></li>
            <li><a href="findAllDateTimeServlet?userName=${userName}">日程安排管理</a></li>
            <li><a href="findAllFileServlet?userName=${userName}">个人文件管理</a></li>
            <li><a href="login/index.jsp">推出主界面</a></li>
            <li><a href="">欢迎${userName}使用本系统！</a></li>
   		</ul>
   		</div>
   		
   		<div class="col-sm-3 col-sm-offset-3 col-md-8 col-md-offset-2 main">
        	<div class="ten">
          		<h1 class="page-header">个人信息管理</h1>
          	</div>
          	<div class="row placeholders">
            <div class="col-xs-6 col-sm-3 placeholder">
              <h4><a href="personMessage/UpdatePersonMessage.jsp" class="one">修改个人信息</a></h4>
            </div>
            <div class="col-xs-6 col-sm-3 placeholder">
              <h4>查看个人信息</h4>
            </div>
            <div class="col-xs-6 col-sm-3 placeholder">
              <h4><a href="UpdatePersonPasswordServlet?userName=${userName}" class="three">修改个人密码</a></h4>
            </div>
          </div>
        </div>    
    </div>

    <div align="center" id="four">
    <table width="400" border="3"> 
    		<tr>
    			<td>用户姓名</td>
    			<td>${user.name}</td>
    		</tr>
    		<tr>
    			<td>用户性别</td>
    			<td>${user.sex}</td>
    		</tr>
    		<tr>
    			<td>出生日期</td>
    			<td>${user.birth}</td>
    		</tr>
    		<tr>
    			<td>用户民族</td>
    			<td>${user.nation}</td>
    		</tr>
    		<tr>
    			<td>用户学历</td>
    			<td>${user.edu}</td>
    		</tr>
    		<tr>
    			<td>用户职称</td>
    			<td>${user.work}</td>
    		</tr>
    		<tr>
    			<td>用户电话</td>
    			<td>${user.phone}</td>
    		</tr>
    		<tr>
    			<td>家庭住址</td>
    			<td>${user.place}</td>
    		</tr>
    		<tr>
    			<td>邮箱地址</td>
    			<td>${user.email}</td>
    		</tr>
    	</table>
    	</div>

  </body>
</html>
